home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
mindbo1a
/
frmsplas.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1999-04-20
|
4KB
|
128 lines
VERSION 5.00
Begin VB.Form frmSplash
BackColor = &H00FFC0FF&
BorderStyle = 3 'Fixed Dialog
ClientHeight = 5040
ClientLeft = 255
ClientTop = 1410
ClientWidth = 4890
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5040
ScaleWidth = 4890
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 5000
Left = 3720
Top = 2760
End
Begin VB.Timer Timer1
Left = 2040
Top = 2880
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00800080&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 4770
Left = 120
TabIndex = 0
Top = 120
Width = 4680
Begin VB.Label Label2
BackColor = &H80000008&
Caption = "Label2"
Height = 135
Left = 240
TabIndex = 3
Top = 4080
Width = 4215
End
Begin VB.Label lblProductName
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Boggle"
BeginProperty Font
Name = "Arial"
Size = 32.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 765
Index = 1
Left = 2160
TabIndex = 2
Top = 360
Visible = 0 'False
Width = 2175
End
Begin VB.Label lblProductName
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Mind "
BeginProperty Font
Name = "Arial"
Size = 32.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 765
Index = 0
Left = 360
TabIndex = 1
Top = 360
Visible = 0 'False
Width = 1695
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim intHeight As Integer
Dim intCounter As Integer
Dim intLocationH As Integer
Private Sub Form_Load()
Dim lngRc As Long
With frmSplash
.Top = (Screen.Height - frmSplash.Height) / 2
.Left = (Screen.Width - frmSplash.Width) / 2
End With
lngRc = sndPlaySound(App.Path & "\newscream.wav", 1)
Timer1.Interval = 200
End Sub
Private Sub Timer1_Timer()
Timer2.Enabled = True
If intCounter > 3500 Then
intCounter = intCounter - 300
lblProductName(1).Top = intCounter
lblProductName(1).Visible = True
Timer1.Interval = 0
Else
lblProductName(0).Top = intCounter
lblProductName(0).Visible = True
intCounter = intCounter + 300
End If
End Sub
Private Sub Timer2_Timer()
Form1.Show
Unload Me
End Sub